tests for early dementia